package main

func main() {
	a()
	b()
}

func b() {
	for i := 0; i < 3; i++ {
		defer func() { print(i)}()
	}
}

func a(){
	i := 0
	defer println(i)
	i = 10
	defer println(i)
	i = 20
	return
}

